package gui;

import mvc.IModel;

import org.geom.curve.ICurve;


public class BlockCurve extends Block {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	//-------------------------------------------------------- mvc vars
	protected ICurve curve;
	
	//-------------------------------------------------------- constructor
	//-------------------------------------------------------- inits
	public BlockCurve(String title, ICurve model) {
		super(title, (IModel) model);
		
		this.curve = model;
	}

	//-------------------------------------------------------- getter && setter
	public ICurve getCurve() {
		return curve;
	}

	public void setCurve(ICurve curve) {
		this.curve = curve;
	}
	

}
